package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("小黑",2,"黑");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chick chick=new Chick("花花",2,"白");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Fish fish=new Fish("金金",1,"金");
        fish.eat();
        fish.drink();
    }
}
